﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PingYou.Console
{
    class ExecProcess
    {
        public string GetUrlTrans()
        {
            #region 长短地址

            string TargetUrl = "http://10.10.1.210:8010/Views/reDirectGradeClassIndex.html?v=1.0&unitId=10000005&gradeName=%E4%B8%80%E5%B9%B4%E7%BA%A7&className=%E4%B8%80%EF%BC%881%EF%BC%89%E7%8F%AD";
            string shortUrl = UrlTrans.ShortUrl(TargetUrl);

            string longUrl = UrlTrans.LongUrl(shortUrl);

            string oldUrl = UrlTrans.LongUrl(TargetUrl);

            return oldUrl;
            #endregion
        }
    }
}
